package flextv.main.event {

import com.adobe.cairngorm.control.CairngormEvent;

import flextv.core.vo.StoredItem;

public class SaveVideoFileEvent extends CairngormEvent {
	
	public static const SAVE_VIDEO_FILE: String = "saveVideoFile";
	
	private var _item: StoredItem;
	
	public function SaveVideoFileEvent(item: StoredItem) {
		super(SAVE_VIDEO_FILE);
		if(item == null) throw new ArgumentError("item == null");
		_item = item;
	}
	
	public function get item(): StoredItem {
		return _item;
	}
	
	public override function toString(): String {
		return "SaveVideoFileEvent[item="+item+"]";
	}
	
}
}